﻿@using SIG.Infrastructure.Configs
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/icons/fontawesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="~/plugins/toastr/toastr.min.css" rel="stylesheet" />
    <link href="~/admin/css/main.min.css" rel="stylesheet" />
    <title>@ViewBag.Title</title>
    @RenderSection("header", required: false)
</head>
<body>



<div id="wrapper">
    
    @*<div id="sidebar-nav" class="leftcol">
        <aside>
            <nav id="menu">
                <h3>导航</h3>
                <ul class="list-unstyled mainmenu">
                    <li class="liitem nav-open">
                        <a href="Default.html" class="active">
                            <i class="fa fa-dashboard"></i> 控制面板
                            <div class="arrow-left"></div>
                        </a>
                    </li>

                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-table"></i> 表格 <span class="badge">2</span></a>
                        <ul class="list-unstyled submenu">
                            <li>
                                <a href="TableBasic.html">
                                    <i class="fa fa-angle-double-right"></i> 表格一
                                </a>
                            </li>
                            <li><a href="/BBI-Admin/Articles/NewsCategories.html"><i class="fa fa-angle-double-right"></i> 表格二</a></li>
                        </ul>
                    </li>
                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-edit"></i> 表单 <span class="badge">2</span></a>
                        <ul class="list-unstyled submenu">
                            <li><a href="FormBasic.html"><i class="fa fa-angle-double-right"></i> 基本表单</a></li>
                            <li><a href="/BBI-Admin/Ad/ManagePositions.aspx"><i class="fa fa-angle-double-right"></i> 带验证表单</a></li>
                        </ul>
                    </li>
                    <li class="liitem"><a href="/BBI-Admin/Pages/ManagePages.aspx"><i class="fa fa-paste"></i> 内容片段</a></li>
                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-link"></i> 链接管理 <span class="badge">2</span></a>
                        <ul class="list-unstyled submenu">
                            <li><a href="/BBI-Admin/Links/ManageLinks.aspx"><i class="fa fa-angle-double-right"></i> 链接列表</a></li>
                            <li><a href="/BBI-Admin/Links/ManageCategories.aspx"><i class="fa fa-angle-double-right"></i> 链接分类</a></li>
                        </ul>
                    </li>

                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-shield"></i> 其它页面 <span class="badge">2</span></a>
                        <ul class="list-unstyled submenu">
                            <li><a href="../Login.html"><i class="fa fa-angle-double-right"></i> 登录页</a></li>
                            <li><a href="../Register.html"><i class="fa fa-angle-double-right"></i> 注册页</a></li>
                        </ul>
                    </li>
                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-cog"></i> 常规设置 <span class="badge">4</span></a>
                        <ul class="submenu">
                            <li><a href="/bbi-admin/Common/SiteInfo.aspx"><i class="fa fa-home"></i> 站点信息</a></li>
                            <li><a href="/bbi-admin/Common/CompanyInfo.aspx"><i class="fa fa-info-circle"></i> 企业信息</a></li>
                            <li><a href="/bbi-admin/Common/Social.aspx"><i class="fa fa-twitter"></i> 社交资料</a></li>
                            <li class="hide"><a href="/bbi-admin/Common/MailSettings.aspx"><i class="fa fa-envelope-o"></i> 邮箱服务设置</a></li>
                        </ul>
                    </li>
                    <li class="liitem down-nav">
                        <a href="#"><i class="fa fa-cog"></i> 系统 <span class="badge">4</span></a>
                        <ul class="submenu">
                            <li><a asp-controller="Menu" asp-action="Index"><i class="fa fa-user"></i> 后台菜单</a></li>
                            <li><a asp-controller="Log" asp-action="Index"><i class="fa fa-bug"></i> 日志</a></li>
                            <li><a asp-controller="User" asp-action="Index"><i class="fa fa-user"></i> 用户</a></li>
                            <li><a asp-controller="Role" asp-action="Index"><i class="fa fa-key"></i> 角色</a></li>

                            <li class="hide"><a href="/bbi-admin/Common/MailSettings.aspx"><i class="fa fa-envelope-o"></i> 邮箱服务设置</a></li>
                        </ul>
                    </li>
                </ul>

            </nav>
            <div class="closemenu">
                <a href="#"><i class="fa fa-chevron-circle-left"></i></a>
            </div>
        </aside>
    </div>*@
    @await Component.InvokeAsync("LeftNav", new { categoryId = SettingsManager.Menu.BackMenuCId, viewContext = ViewContext })
    <div id="rightcol" class="rightcol">
        <nav class="navbar navbar-expand-lg navbar-dark bg-primary">

            <a class="navbar-brand" href="#">
                <img src="../Content/Admin/img/logo.png" height="30" alt="" />
            </a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mr-auto">
                    <li class="nav-item active">
                        <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Link</a>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Dropdown
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                            <a class="dropdown-item" href="#">Action</a>
                            <a class="dropdown-item" href="#">Another action</a>
                            <div class="dropdown-divider"></div>
                            <a class="dropdown-item" href="#">Something else here</a>
                        </div>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link disabled" href="#">Disabled</a>
                    </li>
                </ul>
                <ul class="navbar-nav my-2 my-lg-0">
                    <li class="nav-item active"><a href="/" class="nav-link"><i class="fa fa-home"></i> 返回首页 <span class="sr-only">(current)</span></a></li>

                    <li class="nav-item">
                        <a class="nav-link" href="#">Link</a>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            你好，Admin
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                            <a class="dropdown-item" href="#">个人资料</a>
                            <a class="dropdown-item" href="#">修改密码</a>
                            <div class="dropdown-divider"></div>
                            <a class="dropdown-item" href="#">我的订单</a>
                        </div>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" asp-controller="Account" asp-action="Logout" asp-route-area=""><i class="fa fa-sign-out"></i> 退出系统</a>
                    </li>
                </ul>
            </div>
        </nav>


        @await Component.InvokeAsync("Crumbs", new {viewContext = ViewContext})

        @*<div class="toolbar">
                <a href="#" class="showmenu"><i class="fa fa-bars"></i></a>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-home fa-fw"></i> 控制面板</a></li>
                    <li><a href="#">Library</a></li>
                    <li class="active">Data</li>
                </ol>
            </div>*@
        <div class="main-content">
            @RenderBody()
        </div>

        <footer id="pagefooter" class="page-footer">
            Copyright &copy; 2012 <a id="hlSiteInfo" href="http://heiniaozhi.cn">黑鸟志</a> All Rights
            Reserved
        </footer>

    </div>
</div>
    

<script src="~/admin/js/jquery-3.2.1.min.js"></script>
<script src="~/js/lib/popper/popper.min.js"></script>
<script src="~/bootstrap/js/bootstrap.min.js"></script>
    <script src="~/plugins/bootbox/bootbox.min.js"></script>
    <script src="~/plugins/toastr/toastr.min.js"></script>
<script src="~/admin/js/App.js"></script>
    
@RenderSection("footer", required: false)
</body>
</html>
